package net.chathu.airgw.packets.gw.serverpackets 
{
	import net.chathu.airgw.Config;
	/**
	 * ...
	 * @author ze
	 */
	public class ErrorNoSuchChannelPacket implements ISendableIRCPacket 
	{

		private static const _head:String = " 403 ";

		private var _channel:String;
		
		public function ErrorNoSuchChannelPacket(channel:String) 
		{
			_channel = channel;
		}
		
		public function getMessage():String
		{
			return ":" + Config.IRC_HOST + _head  + _channel + " :No such channel.\n";
		}
		
	}

}